package cn.ymx.service;


import cn.ymx.dao.UserMapper;
import cn.ymx.model.User;
import cn.ymx.model.UserExample;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("LoginService")
public class LoginService {

    @Autowired
    UserMapper userMapper;


    public User Login(String username,String password)
    {
        userMapper.selectByExample(new UserExample());
        return null;
    }
}
